﻿<UserControl x:Class="DiscoveryLogic.UI.Layouts.Controls.TradeHistoryNoteMarker"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    Width="15" Height="15">
    
    <UserControl.Resources>
        <sys:String x:Key="Res_DateCreated">added {0}</sys:String>     
        <sys:String x:Key="Res_EditMessage">Type a note here.{0}{0}Click the check to save{0}or click the X to delete the note.</sys:String> <!-- {0} is a newline -->
    </UserControl.Resources>
    
    <Canvas x:Name="Root">
        <Canvas.Resources>
            <!--
            <Storyboard x:Name="ToggleEditNoteDialogAnimation">
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="Note_Edit" Storyboard.TargetProperty="(Canvas.Top)">
                    <SplineDoubleKeyFrame x:Name="EditNoteTopKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="Note_Edit" Storyboard.TargetProperty="(Canvas.Left)">
                    <SplineDoubleKeyFrame x:Name="EditNoteLeftKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="ScaleEditNoteDialog" Storyboard.TargetProperty="ScaleX">
                    <SplineDoubleKeyFrame x:Name="EditNoteScaleXKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="ScaleEditNoteDialog" Storyboard.TargetProperty="ScaleY">
                    <SplineDoubleKeyFrame x:Name="EditNoteScaleYKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            
            <Storyboard x:Name="ToggleReadNoteDialogAnimation">
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="Note_Read" Storyboard.TargetProperty="(Canvas.Top)">
                    <SplineDoubleKeyFrame x:Name="ReadNoteTopKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="Note_Read" Storyboard.TargetProperty="(Canvas.Left)">
                    <SplineDoubleKeyFrame x:Name="ReadNoteLeftKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="ReadNoteDialogScale" Storyboard.TargetProperty="ScaleX">
                    <SplineDoubleKeyFrame x:Name="ReadNoteScaleXKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames  BeginTime="00:00:00" Storyboard.TargetName="ReadNoteDialogScale" Storyboard.TargetProperty="ScaleY">
                    <SplineDoubleKeyFrame x:Name="ReadNoteScaleYKeyFrame" KeyTime="00:00:00.5" Value="1" KeySpline="0.5,0,0.504,1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>-->
        </Canvas.Resources>
               
        <Path Opacity="1" RenderTransformOrigin="0.499999983279317,0.385208005119992" Width="15.594" Height="15.083" Stretch="Fill" StrokeThickness="0.7" Data="M69.051147,23.088014 L202.40419,23.088014 C204.06103,23.088013 205.40419,24.431158 205.40419,26.088011 L205.40419,63.999999 C205.40419,65.656852 204.06103,66.999999 202.40419,66.999999 L178.79738,66.999999 C178.85389,67.085486 174.01269,68.421827 172.78134,70.247514 166.70879,79.251119 209.39461,79.213617 209.51262,79.224924 209.51262,79.224924 178.02581,79.291874 172.75573,79.224924 153.18498,78.976301 148.25054,75.374595 148.47318,66.999999 L69.051147,66.999999 C67.394292,66.999999 66.051146,65.656852 66.051146,63.999999 L66.051146,26.088011 C66.051146,24.431158 67.394292,23.088013 69.051147,23.088014 z" Stroke="#FF003F86"
               MouseEnter="NoteBubble_MouseEnter"
               MouseLeave="NoteBubble_MouseLeave"
               MouseLeftButtonUp="NoteBubble_MouseLeftButtonUp">
            <Path.Fill>
                <LinearGradientBrush EndPoint="0.5,1.296" StartPoint="0.5,0">
                    <GradientStop Color="#FFA4CBF6" Offset="0.71"/>
                    <GradientStop Color="#FFFFFFFF" Offset="0.808"/>
                    <GradientStop Color="#FFE6F2FD" Offset="0.04"/>
                    <GradientStop Color="#FF97C4F2" Offset="0.165"/>
                    <GradientStop Color="#FFFFFFFF" Offset="0.594"/>
                    <GradientStop Color="#FF91BCE8" Offset="0"/>
                </LinearGradientBrush>
            </Path.Fill>
            
            <Path.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleX="1" ScaleY="1"/>
                    <SkewTransform AngleX="0" AngleY="0"/>
                    <RotateTransform Angle="0"/>
                    <TranslateTransform X="0" Y="0"/>
                </TransformGroup>
            </Path.RenderTransform>
        </Path>


        

    </Canvas>
    
</UserControl>
